<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .one {
            width: 300px;
            height: 300px;
            background-color: red;
        }

        .two {
            width: 100px;
            height: 100px;
            background-color: black;
        }
    </style>
</head>

<body>
    <!-- <div class="one">
        <h3 class="two"></h3>
        <h2 class="two"></h2> -->
    </div>
    <script>
        // function a(){
        //     return alert('one')
        // }
        // const b=a()
        // console.log(b)

        // let div = document.querySelector('div')
        // div.onclick = function (e) {
        //     let ele=e.target
        //     console.log(ele.nodeName==='DIV');
        // }

        // let one = [1, 2, 3]
        // let [c, b,...a] = one
        // console.log(c,b,a)

        let a={}
        if(a){
            alert('111')
        }

    </script>
</body>

</html>